package com.example.testuser.entity;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

@Entity
@Table(name = "test_user")
@Data
public class TestUser {

    @Id
    @Column(name = "pk_user")
    private String pkUser;

    @Column(name = "code",nullable = false)
    private String code;

    @Column(name = "name",nullable = false)
    private String name;

    @Column(name = "password",nullable = false)
    private String password;

    @Column(name = "user_identity",nullable = false)
    private String identity;

}
